import request from "../utils/request";

export const getUserInfoAPI=(params)=>{
    return request({
        url:'/my/getUserInfo',
        method:'get',
        params:params
    })
}
export const getMyVideoListAPI=(params)=>{
    return request({
        url:'/my/getMyVideoList',
        method:'get',
        params:params
    })
}
export const getMyPostListAPI=(params)=>{
    return request({
        url:'/my/getMyPostList',
        method:'get',
        params:params
    })
}
export const getJoinActivityListAPI=(params)=>{
    return request({
        url:'/my/getJoinActivityList',
        method:'get',
        params:params
    })
}
export const getMyActivityListAPI=(params)=>{
    return request({
        url:'/my/getMyActivityList',
        method:'get',
        params:params
    })
}
export const updateUserInfoAPI=(params)=>{
    return request({
        url:'/my/updateUserInfo',
        method:'put',
        data:params
    })
}
export const updateActivityInfoAPI=(params)=>{
    return request({
        url:'/my/updateActivityInfo',
        method:'put',
        data:params
    })
}
export const deleteVideoAPI=(params)=>{
    return request({
        url:'/my/deleteVideo',
        method:'delete',
        params:params
    })
}
export const deletePostAPI=(params)=>{
    return request({
        url:'/my/deletePost',
        method:'delete',
        params:params
    })
}
export const deleteActivityAPI=(params)=>{
    return request({
        url:'/my/deleteActivity',
        method:'delete',
        params:params
    })
}